CDFS=00, CEG=00, HCMPON=0, COE=0, CINV=0
Comparator Control Register
CINV | Comparator output polarity selection 0 (0): Comparator output not inverted 1 (1): Comparator output inverted |
COE | Comparator output enable 0 (0): Comparator output disabled (the output signal is low level). 1 (1): Comparator output enabled |
Reserved | This bit is read as 0. The write value should be 0. |
CEG | Selection of valid edge (Edge selector) 0 (00): No edge selection. 1 (01): Rising edge selection. 2 (10): Falling edge selection 3 (11): Both-edge selection |
CDFS | Noise filter selection 0 (00): Noise filter not used. 1 (01): Noise filter sampling frequency is 2^3/PCLKB. 2 (10): Noise filter sampling frequency is 2^4/PCLKB. 3 (11): Noise filter sampling frequency is 2^5/PCLKB. |
HCMPON | Comparator operation control 0 (0): Operation stopped (the comparator outputs a low-level signal) 1 (1): Operation enabled (input to the comparator pins is enabled |